package test916;

import java.util.Scanner;

public class myWihile {
    public static void main(String[] args) {
        System.out.println("please enter a num: ");
        Scanner scanner = new Scanner(System.in);
        int num = scanner.nextInt();
        while(num > 0)
        {
            System.out.print(" *");
            num--;
        }
    }
}
